<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../vue.js"></script>
</head>
<body>
    <div id="app"></div>
    <script>
        //ES5
        const name="lrt"
        const age=18
        const obj={
            name:name,
            age:age
        }
        //ES6
        const obj2={
            name,
            age
        }
        //函数的增强方法
        const obj3={
            run: function(){

            }
        }
        //ES6
        const obj4={
            run(){
                
            }
        }
    </script>
</body>
</html>